#include <stdio.h>
#include <stdbool.h>

int main()
{
    int a = 1;
    printf("%zd\n", sizeof(a));//记得换行
    printf("%d\n", sizeof(int));//整形要加括号
    printf("%d\n", sizeof(char));
    printf("%d\n", sizeof(bool));//使用bool要引用头文件
    printf("%d\n", sizeof 3 + 5);
    printf("%d\n", sizeof (short));

    short s = 1;
    int b = 1;
    printf("%zd", sizeof(s = b + 1));//把int类型装入了short中

    
    return 0;
}